package com.i2works.smartluolong.web.entity.user;

import com.i2works.smartluolong.utils.entity.BaseCommDO;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 用户扩展实体
 *
 * @author Liu Yutao <koal@vip.qq.com>
 * @date 2018/1/23 15:03
 */

public class UserAccountExtendDO extends BaseCommDO {
    private Integer id; //
    private Integer userId; // 用户编号
    private String avatar; // 用户头像
    private String realName; // 全名（个人姓名和企业全称）
    private String idcard; // 证件号码
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date birthday; // 生日（个人生日或企业成立时间）
    private Integer age; // 年龄（个人年龄或企业成立时间）
    private Integer sex; // 性别(0保密，1男，2女）；默认值：0
    private String province; // 省
    private String city; // 市
    private String area; // 区
    private String address; // 详细地址
    private String description; // 简单介绍
    private Integer status; // 状态(1启用，0禁用）；默认值：1

    /**
     * 附加字段
     */
    private Integer userType;//用户类别
    private String email;//用户邮箱


    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }
    
   
	public String getIdcard() {
		return idcard;
	}

	public void setIdcard(String idcard) {
		this.idcard = idcard;
	}

	public Date getBirthday() {
        return birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public Integer getSex() {
        return sex;
    }

    public void setSex(Integer sex) {
        this.sex = sex;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getArea() {
        return area;
    }

    public void setArea(String area) {
        this.area = area;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Integer getUserType() {
        return userType;
    }

    public void setUserType(Integer userType) {
        this.userType = userType;
    }

}
